﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Chronos;

public class TimeControl : MonoBehaviour
{
    
    
    void Update()
    {
        Clock clock = Timekeeper.instance.Clock("Chara");
        if(Input.GetKeyDown(KeyCode.F))
        {
            clock.localTimeScale = 2;
        }
        if(Input.GetKeyDown(KeyCode.G))
        {
            clock.localTimeScale = 0;
        }
        if(Input.GetKeyDown(KeyCode.H))
        {
            clock.localTimeScale = 1;
        }
    }
}
